let router = require('express').Router()
const { getBackground, addBackground, delBg, updateBack } = require('../controller/setting')
const { testToken } = require('../middleware/users')

router.get('/background', testToken, getBackground)
router.put('/addback', testToken, addBackground)
router.delete('/delback', testToken, delBg)

router.post('/updateback', testToken, updateBack)
module.exports = router 